package Lab05.Q6;
import java.util.Date;

import static Lab05.Q6.Test.Path;

public abstract class File {
    private String name;
    private Date time=new Date();
    private int storage=10;
    private String content="No content";
    private String path=Path;
    public File(){
        this("None");
    }
    public File(String name){
        this.name = name;
    }
    void setName(String name){this.name = name;}
    void setTime(Date time){this.time = time;}
    void setContent(String content){this.content = content;}
    void setPath(String path){this.path = path;}
    void setStorage(int storage){this.storage = storage;}
    String getName() {return name;}
    Date getTime() {return time;}
    String getContent() {return content;}
    String getPath() {return path;}
    int getStorage() {return storage;}

    public void executeCommand() {
    }
    public String toString(){
        return null;
    }
}
